﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<AutorizacionViajesMVC.Models.Seguro>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	PokaYoke
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Panel Seguro</h2>

    <table>
        <tr>
            <%--<th></th>--%>
            <th>
                Codigo
            </th>
            <th>
                Codigo Autorizacion
            </th>
            <th>
                Aprobacion Gerente
            </th>
            <th>
                Observacion  Gerente
            </th>
            <th>
                VB_Teso
            </th>
            <th>
                OB_Teso
            </th>
            <th>
                VB_Seg
            </th>
            <th>
                OB_Seg
            </th>
            <th>
                Estado Seguro
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <%--<td>
                <%: Html.ActionLink("Ediar", "Edit", new { id=item.CodigoS }) %> |
                <%: Html.ActionLink("Detalle", "Details", new { id = item.CodigoS })%> |
                <%: Html.ActionLink("Eliminar", "Delete", new { id = item.CodigoS })%>
            </td>--%>
            <td>
                <%: item.CodigoS%>
            </td>
            <td>
                <%: item.CodAU%>
            </td>
            <td>
                <%: item.Apro%>
            </td>
            <td>
                <%: item.OB_Ge%>
            </td>
            <td>
                <%: item.VB_Teso%>
            </td>
            <td>
                <%: item.OB_Teso%>
            </td>
            <td>
                <%: item.VB_Seg%>
            </td>
            <td>
                <%: item.OB_Seg%>
            </td>
            <td>
                <%: item.EstaSol%>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Registrar Seguro", "Create") %>
    </p>

</asp:Content>

